#include"stdio.h"
main()
{
	int ying,shu,other,i;
	char ch;
	ying=shu=other=0;
	printf("Enter 10 characters:");
	for(i=1;i<=10;i++){
		ch=getchar();
		if((ch>='a'&&ch<='z')||(ch>='A'&&ch<='Z'))
			ying++;
		else if(ch>='0'&&ch<='9')
			shu++;
		else
			other++;
	}
	printf("ying=%d\tshu=%d\tother=%d\n",ying,shu,other);
	return 0;
}